var express = require("express");
var app = express();

// 静态文件托管
app.use(express.static("css"));

app.get("/",function(req,res){
   res.set("Content-Type","text/html;charset=utf-8");
   res.sendFile(__dirname+"/index.html")
})

var server = app.listen(8080,function(){
	console.log("成功");
})